::Set folder location (EDIT HERE)
SET FLD_LOC=C:


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::Setting location, DO NOT CHANGE:::::::
SET SRC_LOC=%FLD_LOC%\OneHash
SET SRC_CLASS=%SRC_LOC%\classes
SET SRC_FOLDER=%SRC_LOC%\src
SET SRC_FILE=%SRC_FOLDER%\sg\edu\nus\iss\team4ft
SET SRC1=%SRC_FOLDER%\com\cloudgarden\layout\*.java
SET SRC2=%SRC_FILE%\exception\*.java
SET SRC3=%SRC_FILE%\manager\*.java
SET SRC4=%SRC_FILE%\service\*.java
SET SRC5=%SRC_FILE%\ui\*.java
SET SRC6=%SRC_FILE%\util\*.java

::Copying image and data files::
MKDIR "%SRC_CLASS%\Images"
MKDIR "%SRC_CLASS%\data"
copy "%SRC_FOLDER%\Images\*.*" "%SRC_CLASS%\Images"
copy "%SRC_LOC%\data\*.*" "%SRC_CLASS%\data"

call "%SRC_LOC%\folder\setenv.bat"

::Compiling Codes::
cd /d %SRC_LOC%
"%JAVA_HOME%\bin\javac.exe" -d classes %SRC1% %SRC2% %SRC3% %SRC4% %SRC5% %SRC6%
pause
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 